package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 企业
 *
 * @author Yancy
 * @since 2024-01-31
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("question")
@ApiModel(value = "Question对象", description = "企业")
public class Question extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("问题名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("问题编号")
    @TableField("question_no")
    private String questionNo;


    @ApiModelProperty("是否已删除")
    @TableField("deleted")
    private Boolean deleted;

    @ApiModelProperty("企业ID")
    private Long companyId;


    public static final String NAME = "name";

    public static final String QUESTION_NO = "question_no";


    public static final String COMPANY_ID = "company_id";

    public static final String DELETED = "deleted";

}
